package csl.blog.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import csl.blog.server.mq.consumer.entity.AsyncEventEntity;

import java.util.List;

public interface AsyncEventMapper extends BaseMapper<AsyncEventEntity> {

    IPage<AsyncEventEntity> findPageInfo(Page<AsyncEventEntity> page, AsyncEventEntity asyncEventEntity);

    List<AsyncEventEntity> listByEntity(AsyncEventEntity asyncEventEntity);

}
